/**
 * 
 */
package com.ra.landlord;

import java.util.ArrayList;
import java.util.List;

/**
 *   发送短信房间选择展示对象
 * @author yuki
 * @date 2015年8月24日
 * @since4.0
 */
public class BuildingFloorRoomVO 
{
	private List<SimpleBuild> caBuildRooms;
	
	private List<SimpleDaRoom> daRooms;
	

	public BuildingFloorRoomVO() {
		super();
		this.caBuildRooms = new ArrayList<BuildingFloorRoomVO.SimpleBuild>();
		this.daRooms = new ArrayList<BuildingFloorRoomVO.SimpleDaRoom>();
	}

	public List<SimpleBuild> getCaBuildRooms() {
		return caBuildRooms;
	}

	public void setCaBuildRooms(List<SimpleBuild> caBuildRooms) {
		this.caBuildRooms = caBuildRooms;
	}

	public List<SimpleDaRoom> getDaRooms() {
		return daRooms;
	}

	public void setDaRooms(List<SimpleDaRoom> daRooms) {
		this.daRooms = daRooms;
	}

	//-- Simple class

	public static class SimpleRoomVO 
	{
		private Integer id;
		
		//房间名称
		private String name;

		public SimpleRoomVO() {}
		
		public SimpleRoomVO(Integer id, String name) {
			super();
			this.id = id;
			this.name = name;
		}

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}
	}
	
	public static class SimpleFloor
	{
		//楼层名称
		private String name;
		
		private List<SimpleRoomVO> rooms;

		public SimpleFloor() {
			super();
			this.rooms =  new ArrayList<BuildingFloorRoomVO.SimpleRoomVO>();
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public List<SimpleRoomVO> getRooms() {
			return rooms;
		}

		public void setRooms(List<SimpleRoomVO> rooms) {
			this.rooms = rooms;
		}
	}
	
	public static class SimpleBuild 
	{
		//楼房名称
		private String name;
		
		private List<SimpleFloor> floors;

		public SimpleBuild() {
			super();
			this.floors = new ArrayList<BuildingFloorRoomVO.SimpleFloor>();
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public List<SimpleFloor> getFloors() {
			return floors;
		}

		public void setFloors(List<SimpleFloor> floors) {
			this.floors = floors;
		}
	}
	
	public  static class SimpleDaRoom {
		
		private Integer daRoomId;
		private String daRoomName;

		public SimpleDaRoom(Integer daRoomId, String daRoomName) {
			super();
			this.daRoomId = daRoomId;
			this.daRoomName = daRoomName;
		}

		public Integer getDaRoomId() {
			return daRoomId;
		}

		public void setDaRoomId(Integer daRoomId) {
			this.daRoomId = daRoomId;
		}

		public String getDaRoomName() {
			return daRoomName;
		}

		public void setDaRoomName(String daRoomName) {
			this.daRoomName = daRoomName;
		}

	}
}


